<template>
  <el-select v-bind="$attrs" v-on="$listeners" clearable filterable>
    <el-option v-for="city in allCityData" :label="city.name" :value="city.code"/>
  </el-select>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  computed: {
    ...mapGetters(['allCityData'])
  }
}
</script>

<style lang="scss" scoped>

</style>